package com.nowoe.data.statement;

import com.nowoe.data.constant.SqlCommandTypeEnum;

/**
 * @author 倚栏听风 2023/9/14 15:27
 * Mapper.xml封装类
 */
public class MapperStatement {
    /**
     * 唯一表示  namespace+methodName
     */
    private String statementId;
    private String resultType;
    private String parameterType;
    private String sql;

    /**
     * 判断sql执行什么操作
     */
    private SqlCommandTypeEnum sqlCommandType;

    public SqlCommandTypeEnum getSqlCommandType() {
        return sqlCommandType;
    }

    public void setSqlCommandType(SqlCommandTypeEnum sqlCommandType) {
        this.sqlCommandType = sqlCommandType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getParameterType() {
        return parameterType;
    }

    public void setParameterType(String parameterType) {
        this.parameterType = parameterType;
    }
}
